type Menu = {
  path: string
  name: string
  type: 'menu' | 'button'
  layout?: 'default'
  hidden?: boolean
  componentPath?: string
  meta?: MenuMeta
  roles?: []
  sort: number
  level: number
  children?: Menu[]
  redirect?: string
}

type MenuMeta = {
  title: string
  icon?: string
}

export default Menu
